package com.sharecar.request;

import com.android.sharecar.model.CommentLevel2;

/**
 * This class encapsulates the client's request to CommentLevel2Service.
 * @author xinyan
 *
 */
public class CommentLevel2Request extends Request {
	private static final long serialVersionUID = 4L;

	public static final int INSERT_A_COMMENT = 1;
	public static final int SELECT_COMMENTS_OF_TALK = 2;

	private CommentLevel2 comment;
	private int talkId;

	public int getTalkId() {
		return talkId;
	}

	public void setTalkId(int talkId) {
		this.talkId = talkId;
	}

	public CommentLevel2Request(int type) {
		this.requestType = type;
	}

	public CommentLevel2 getComment() {
		return comment;
	}

	public void setComment(CommentLevel2 comment) {
		this.comment = comment;
	}
}
